/**
 *  @file  vsTypes.h version 1.0 2007-11-20 
 *  @brief Type definitions of the built-in types.
 *  Copyright (c) 2007 by @author <abitfree@gmail.com>
 */

#ifndef __VS_TYPES_H__
#define __VS_TYPES_H__

namespace vs
{

//@{
/// The vs typedefs.
typedef char				VS_INT8;
typedef unsigned char		VS_UINT8;
typedef short				VS_INT16;
typedef unsigned short		VS_UINT16;
typedef int					VS_INT32;
typedef unsigned int		VS_UINT32;

#if defined(_MSC_VER)	// for VC
typedef __int64				VS_INT64;
typedef unsigned __int64	VS_UINT64;
#else					// for other compilers?
typedef long long			VS_INT64;
typedef unsigned long long	VS_UINT64;
#endif


/// For function return values.
typedef VS_INT32 RET_CODE;
//@}

} // namespace vs

#endif	// __VS_TYPES_H__
